{extend name="template/base_default"}
{block name="header"}
<link rel="stylesheet" href="__CSS__/common.css">
<link rel="stylesheet" href="__CSS__/index/style.css">
<link rel="stylesheet" href="__CDN__/weui/weui.min.css">
<link rel="stylesheet" href="__CDN__/weui/jquery-weui.min.css">
<link rel="stylesheet" href="__CSS__/demos.css">
{/block}
{block name="body"}
<style>
    body{
        margin: 0;
        padding: 0;
    }
    .title{
        height:60px;
        width:49%;
        float: left;
        background-color: #F47119;
        color:white;
        line-height: 60px;
        text-align: center;
        border: solid 1px white;
    }
    video{
        width:100%;
        height: 220px;
    }
</style>
<a href="{:url('index/news')}"><div class="title">新闻</div></a>
<a href="{:url('index/news2')}"><div class="title">资讯</div></a>

{$news['url']}
{include file="template/nav_bar"}
{/block}
{block name="footer"}
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript" src="__CDN__/swiper/idangerous.swiper2.7.6.min.js"></script>
<script>
    $(".swiper-container").swiper({
        loop: true,
        autoplay: 3000
    });
</script>
{/block}